package com.boot.main.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("用户实体")
@Data
public class CcomUser {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    private String name;
    @JsonSerialize(using = ToStringSerializer.class)
    private String role_id;
    private String role_name;
    private String avatar;
    private String sex;
    @ApiModelProperty(value = "手机号")
    private String mobile;
    private String email;
    private Integer status;
    private Long create_time;
    private String openid;
    private String unionid;
}
